package com.lp.biz.medal.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @program: backend
 * @description: 勋章
 * @author Ke.Song
 * @since 2024-07-04 22:10:43
 */
@Data
@TableName("medal")
public class Medal implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("`name`")
    private String name;

    @TableField("`code`")
    private String code;

    /**
     * 类型
     */
    private String typeCode;

    /**
     * 暗图URL
     */
    private String darkUrl;

    /**
     * 亮图URL
     */
    private String brightUrl;

    /**
     * 条件
     */
    @TableField("`condition`")
    private String condition;


}
